package com.kws.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kws.system.domain.SysKnowledgeBase;
import com.kws.system.domain.info.QueryKnowledgeBaseInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysKnowledgeBaseMapper extends BaseMapper<SysKnowledgeBase> {
    Page<QueryKnowledgeBaseInfo> queryKnowledgeBasePage(@Param("page") Page<QueryKnowledgeBaseInfo> page,@Param("content") String content, @Param("companyId") Long companyId);

    QueryKnowledgeBaseInfo queryKnowledgeBaseById(@Param("id") Long id);
}
